package com.chazz.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * 商品评论表，储存用户评论商品的信息(Comment)实体类
 *
 * @author makejava
 * @since 2020-09-21 14:13:50
 */
public class Comment implements Serializable {

    private static final long serialVersionUID = -42481107423732917L;
    /**
     * 评论id
     */
    private Integer id;
    /**
     * 评论的具体内容
     */
    private String comment;
    /**
     * 被评论的商品id，外键
     */
    private Integer gid;
    /**
     * 评论用户的id，外键
     */
    private Integer uid;
    /**
     * 评论的时间
     */
    private Date createtime;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public Integer getGid() {
        return gid;
    }

    public void setGid(Integer gid) {
        this.gid = gid;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

}